package com.example.xyr.myapplication.base;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import butterknife.ButterKnife;

/**
 * @创建人 honglin
 * @创建时间 2018/4/24 下午5:51
 * @类描述 一句话描述 你的UI
 */
public abstract class RVBaseHolder extends RecyclerView.ViewHolder {

    public RVBaseHolder(View itemView) {
        super(itemView);
        ButterKnife.bind(this,itemView);
    }

    protected abstract void onBind(RVBaseHolder holder,int adapterPosition);
}
